<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private DefendRegister data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public DefendRegister getData(){
        return data;
    }

    public void setData(DefendRegister data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class DefendRegister implements Serializable{

    private long id; //id
    private long companyId; //公司id
    private long name; //设备名称
    private long defendTypeId; //维护类型id
    private String defendId; //维护人id
    private String defendCont; //维护内容
    private String protectStep; //防护措施
    private String defendCost; //维护费用
    private String defendTime; //维护时间
    private String defendPhoto; //维护照片
    private String defendSituation; //维护情况

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public long getName(){
        return name;
    }

    public void setName(long name){
        this.name = name;
    }

    public long getDefendTypeId(){
        return defendTypeId;
    }

    public void setDefendTypeId(long defendTypeId){
        this.defendTypeId = defendTypeId;
    }

    public String getDefendId(){
        return defendId;
    }

    public void setDefendId(String defendId){
        this.defendId = defendId;
    }

    public String getDefendCont(){
        return defendCont;
    }

    public void setDefendCont(String defendCont){
        this.defendCont = defendCont;
    }

    public String getProtectStep(){
        return protectStep;
    }

    public void setProtectStep(String protectStep){
        this.protectStep = protectStep;
    }

    public String getDefendCost(){
        return defendCost;
    }

    public void setDefendCost(String defendCost){
        this.defendCost = defendCost;
    }

    public String getDefendTime(){
        return defendTime;
    }

    public void setDefendTime(String defendTime){
        this.defendTime = defendTime;
    }

    public String getDefendPhoto(){
        return defendPhoto;
    }

    public void setDefendPhoto(String defendPhoto){
        this.defendPhoto = defendPhoto;
    }

    public String getDefendSituation(){
        return defendSituation;
    }

    public void setDefendSituation(String defendSituation){
        this.defendSituation = defendSituation;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>